<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>数据统计</title>
		<link rel="stylesheet" href="css/common.css" />
		<link rel="stylesheet" href="css/cssreset.css" />
		<link rel="stylesheet" type="text/css" href="css/style.css"/>
		<link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_413555_1hukl6gttj57mn29.css"/>
		<script src="js/jquery.min.js"></script>
		<script src="js/echarts.min.js"></script>
		<script src="js/macarons.js"></script>
		<style type="text/css">
			.main {
				width: calc(100% - 140px);
			}
		</style>
	</head>
	
	<body>
		<div class="wrapper">
			<!--左边导航-->
			<div class="guanli fl">
				<dl>
					<dd class="mren"><a href="data_static.html"><span>商业统计</span></a></dd>
				</dd>
			</div>
			<!--左边导航END-->
			
			<div class="main">
				<div class="pay_static">
					<h3>总体支付统计</h3>
					<div class="tabs tab1">
						<span class="active">本周</span>
						<span>本月</span>
						<span>本年</span>
					</div>
					<div class="charts">
						<div class="line_chart" id="all_line"></div>
						<div class="pie_chart" id="all_pie"></div>
					</div>
				</div>
				
				<div class="pay_static">
					<h3>店铺支付统计</h3>
					<div class="search">
						<span>店铺名称：</span>
						<input type="text" name="storeName" />
						<button>查找</button>
					</div>
					<div class="tabs tab2">
						<span class="active">本周</span>
						<span>本月</span>
						<span>本年</span>
					</div>
					<h4 class="store_name">漂亮宝贝芙蓉路店</h4>
					<div class="charts">
						<div class="line_chart" id="store_line"></div>
						<div class="pie_chart" id="store_pie"></div>
					</div>
				</div>
			</div>
			
		</div>
	</body>
	
	<script src="js/data.js"></script>
	<script>
		var winH = $(window).height();
		$('.main').height(winH);
		
		
		$('.tab1 span').click(function(){
			$('.tab1 span').removeClass('active');
			$(this).addClass('active');
		});
		
		$('.tab2 span').click(function(){
			$('.tab2 span').removeClass('active');
			$(this).addClass('active');
		});
	</script>
</html>
